import { WServer, Session } from '../common/wserver'
import { LogFactory } from '../common/log';

LogFactory.inst().init(process.cwd()+"/logs/", "log");
let wserver = new WServer(8081);
wserver.onconnected=(ss:Session)=>{}
wserver.onmessage=(ss:Session)=>{}
wserver.onerror=(ss:Session)=>{}
wserver.onclose=(ss:Session)=>{}
wserver.start();